﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace BCGM.MedicalWisdom.Model.Models
{
    ///<summary>
    ///秒杀商品信息表
    ///</summary>
    [SugarTable("SeckillGoodMessage", "WMBLOG_MYSQL")]
    public class SeckillGoodMessage
    {
        public SeckillGoodMessage()
        {
        }
        /// <summary>
        /// Desc:秒杀商品信息表
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// Desc:秒杀活动 ID
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? SeckillId { get; set; }
        /// <summary>
        /// Desc:spu ID
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? Spuid { get; set; }
        /// <summary>
        /// Desc:Sku ID
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? Skuid { get; set; }
        /// <summary>
        /// Desc:商品Id
        /// Default:
        /// Nullable:False
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// Desc:标题
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// Desc:商品图片
        /// Default:
        /// Nullable:False
        /// </summary>
        public string ShopPhoto { get; set; }
        /// <summary>
        /// Desc:商品原价格
        /// Default:
        /// Nullable:False
        /// </summary>
        public double Price { get; set; }
        /// <summary>
        /// Desc:秒杀原价格
        /// Default:
        /// Nullable:True
        /// </summary>
        public double? CostPrice { get; set; }
        /// <summary>
        /// Desc:添加日期
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// Desc:审核日期
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime CheckTime { get; set; }
        /// <summary>
        /// Desc:审核状态，0未审核，1通过，2不通过
        /// Default:
        /// Nullable:False
        /// </summary>
        public int GoodStatus { get; set; }
        /// <summary>
        /// Desc:开始时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// Desc:结束时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime Endime { get; set; }
        /// <summary>
        /// Desc:秒杀商品数量
        /// Default:
        /// Nullable:False
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// Desc:商品库存数量
        /// Default:
        /// Nullable:False
        /// </summary>
        public int Stock { get; set; }
        /// <summary>
        /// Desc:描述
        /// Default:
        /// Nullable:True
        /// </summary>
        public string Describes { get; set; }
    }
}